svg as background css

85

.element {
  background-image: url(/images/image.svg);
}
background: url(100px-wide-no-height-or-ratio.svg);
background-size: contain;

Comments

Submit
0 Comments